import request from '@/utils/request'

export function findStudent(params) {
	return request({
		url: '/findStudent',
		method: 'get',
		params
	})
}

export function getList(params) {
	return request({
		url: '/getPlanList',
		method: 'get',
		params
	})
}

export function activityDetail(data) {
	return request({
		url: '/planDetail',
		method: 'get',
		data
	})
}

export function getAllDetail(data) {
	return request({
		url: '/planAllDetail',
		method: 'get',
		data
	})
}

export function setPay(data) {
	return request({
		url: '/pay/create',
		method: 'post',
		data
	})
}


export function createAll(data) {
	return request({
		url: '/pay/create_all',
		method: 'post',
		data
	})
}

export function checkPayStatus(data) {
	return request({
		url: '/pay/status',
		method: 'get',
		data
	})
}